/**
@file     	DESIGNPATTERN_File.cpp
@brief    	1.When the algorithm to create complex object should be independent of the part of the object,
as well as their assembly;
2.When construction process must be allowed to construct the object is different;
@author  	arvin
@version 	1.0   2012/12/20
*/

#include "stdafx.h"

#ifndef CXX_DESIGNPATTERN_FILE_H
#include "DESIGNPATTERN_File.h"
#endif

/**
* Construction
*
* @param const string& strName
* @param int iSize
* @return
*/
File::File(const string& strName, int iSize) :
	Entry(ENTRY_FILE, strName, iSize)
{
	DEBUG_PRINTF("");
}

/**
* Destruction
*
* @param VOID
* @return
*/
File::~File()
{
	DEBUG_PRINTF("");
}

/**
* PrintList
*
* @param VOID
* @return VOID
*/
VOID 
File::PrintList()
{
	DEBUG_PRINTF("name[%s], size[%d]", GetName().c_str(), GetSize());
	Entry::PrintList();
}

/* EOF */